﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Process
{
    /// <summary>
    /// 流程权限配置表
    /// </summary>
    public class AuthorizationProcessesSettings
    {
        /// <summary>
        /// 唯一ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }

        /// <summary>
        /// 流程编码
        /// </summary>
        public string ProcessCode { get; set; }

        /// <summary>
        /// 权限值
        /// </summary>
        public string PermissionCode { get; set; }

        /// <summary>
        /// 权限描述
        /// </summary>
        public string PermissionName { get; set; }

        /// <summary>
        /// 授权类型（1：组织授权  2：角色授权 3：人员授权）
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 平台类型（1：新平台 2：旧平台）
        /// </summary>
        public int PlatformType { get; set; }

    }
}
